﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Cofe.Web.Models
{
    public class LinkViewModel
    {
        public static LinkViewModel CreateNew(string caption, string controller, string action, object parameters)
        {
            return new LinkViewModel()
            {
                Caption = caption,
                Controller = controller, 
                Action = action, 
                Parameters = parameters
            };
        }

        public string Caption { get; set; }
        public string Action { get; set; }
        public object Parameters { get; set; }
        public string Controller { get; set; }
    }
}
